package com.example.demo.behavior.command;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Desc:
 * @Author zzz
 * @Date 2021/2/27
 * @Version V1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Invoker {
    Command command;

    public void invoke() {
        command.execute();
    }
}
